import Layout from '@/layout'

const distributionRouter = {
  path: '/distribution',
  component: Layout,
  meta: {
    title: '分销',
    icon: 'documentation',
    affix: true
  },
  children: [
	  {
	    path: '/distribution/member',
	    component: () => import('@/views/distribution/member'),
	    name: 'member',
	    meta: {
	      title: '超级会员',
	      icon: 'documentation',
	      affix: false
	    }
	  },
	  {
	    path: '/distribution/agency',
	    component: () => import('@/views/distribution/agency'),
	    name: 'agency',
	    meta: {
	      title: '代理商',
	      icon: 'documentation',
	      affix: false
	    }
	  },

    {
      path: '/distribution/record',
      component: () => import('@/views/distribution/record'),
      name: 'record',
      meta: {
        title: '佣金记录',
        icon: 'documentation',
        affix: false
      }
    },
    {
      path: '/distribution/settingup',
      component: () => import('@/views/distribution/settingup'),
      name: 'settingup',
      meta: {
        title: '设置',
        icon: 'documentation',
        affix: false
      }
    },
  ]
}
export default distributionRouter
